# Program:  classify.py
#
# Author:  Patrick Raycroft
# 
# This program uses the kNN classifier
# to classify NCAA March Madness games
# using training data provided to the
# model.
#
# Updated:  April 22, 2013

from classifier import kNNClass

if __name__=="__main__":
	filename = 'training_processed.csv'
	knn = kNNClass(filename,10)
	knn.max_min(filename)
	knn.feature_select(filename)
	knn.create_feature_vector(filename)
	results = knn.classify('test2013.csv')
	for r in results:
		print r
	print knn.feature_indices
